<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>时间转换指令</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
<div id="app" v-cloak>
    <div class="main">
        <div class="before" v-time="timeBefore"></div>
        <div class="now" v-time="timeNow"></div>
    </div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script type="text/javascript" src="time.js"></script>
<script type="text/javascript" src="index.js"></script>
</body>
</html>
